package com.itheima.homework.homework3;

/**
 * @author
 * 员工类
 */
public abstract class User {

    //姓名
    private String name;
    //性别
    private String gender;
    //年龄
    private Integer age;

    //抽象行为
    public abstract void job();

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getGender() {
        return gender;
    }

    public void setGender(String gender) {
        this.gender = gender;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    public User(String name, String gender, Integer age) {
        this.name = name;
        this.gender = gender;
        this.age = age;
    }

    public User() {
    }
}
